/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package excepciones;

/**
 *
 * @author Diego
 */
public class PersistenciaException extends Exception{
    private int errcod;

    public PersistenciaException() {
    }
    
    public PersistenciaException(String ExceptionMensaje,int err){
        super(ExceptionMensaje);
        this.errcod = err;
    }
    
    public PersistenciaException(String ExceptionMensaje){
        super(ExceptionMensaje);
        
    }

    public int getErrcod() {
        return errcod;
    }
    
    
    
}
